/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package pkl53.view;

import java.awt.CardLayout;
import javax.swing.JFileChooser;
import javax.swing.JPanel;
import pkl53.controller.BackupKuesioner;
import pkl53.controller.BackupKuesionerUsaha;

/**
 *
 * @author User
 */
public class HomePanel extends javax.swing.JPanel {

    /**
     * @param aPathTextField the pathTextField to set
     */
    public static void setPathTextField(javax.swing.JTextField aPathTextField) {
        pathTextField = aPathTextField;
    }

    private MainFrame mainFrame1;
    
   
    private LoginPanel2 panel2;
    
    private JPanel panel;
    private CardLayout card;
    
    private LoginPanel2 loginPanel2;
    
    /**
     * Creates new form homePanel
     */
    public HomePanel() {
        initComponents();
        //panel2.setUsername(null);
    }
    
      public void setmainFrame(MainFrame frameUtama, JPanel panel, CardLayout card){
        setMainFrame1(frameUtama);
        this.setPanel(panel);
        this.setCard(card);
        }


    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jDialog1 = new javax.swing.JDialog();
        backgroundLain1 = new pkl53.imageClass.BackgroundLain();
        pathTextField = new javax.swing.JTextField();
        jButton1 = new javax.swing.JButton();
        importButtonNewPanel = new javax.swing.JButton();
        jLabel1 = new javax.swing.JLabel();
        jFileChooser1 = new javax.swing.JFileChooser();
        updateDialog = new javax.swing.JDialog();
        updatePanel1 = new pkl53.view.UpdatePanel();
        home1 = new pkl53.imageClass.Home();
        jLayeredPane1 = new javax.swing.JLayeredPane();
        usahaEntriBuuton = new javax.swing.JButton();
        pekerjaanEntriButton = new javax.swing.JButton();
        usahaUpdateButton = new javax.swing.JButton();
        pekerjaanUpdateButton = new javax.swing.JButton();
        importButton = new javax.swing.JButton();

        jDialog1.setMinimumSize(new java.awt.Dimension(505, 200));
        jDialog1.setModal(true);

        jButton1.setBackground(new java.awt.Color(51, 153, 255));
        jButton1.setText("Browse");
        jButton1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton1ActionPerformed(evt);
            }
        });

        importButtonNewPanel.setBackground(new java.awt.Color(51, 153, 255));
        importButtonNewPanel.setText("Import");
        importButtonNewPanel.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                importButtonNewPanelActionPerformed(evt);
            }
        });

        jLabel1.setFont(new java.awt.Font("Calibri", 3, 18)); // NOI18N
        jLabel1.setForeground(new java.awt.Color(255, 255, 255));
        jLabel1.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel1.setText("Import Data");

        javax.swing.GroupLayout backgroundLain1Layout = new javax.swing.GroupLayout(backgroundLain1);
        backgroundLain1.setLayout(backgroundLain1Layout);
        backgroundLain1Layout.setHorizontalGroup(
            backgroundLain1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(backgroundLain1Layout.createSequentialGroup()
                .addContainerGap(136, Short.MAX_VALUE)
                .addGroup(backgroundLain1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(backgroundLain1Layout.createSequentialGroup()
                        .addComponent(pathTextField, javax.swing.GroupLayout.PREFERRED_SIZE, 221, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(18, 18, 18)
                        .addComponent(jButton1))
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, backgroundLain1Layout.createSequentialGroup()
                        .addGap(101, 101, 101)
                        .addComponent(importButtonNewPanel)
                        .addGap(140, 140, 140)))
                .addGap(61, 61, 61))
            .addGroup(backgroundLain1Layout.createSequentialGroup()
                .addGap(111, 111, 111)
                .addComponent(jLabel1)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        backgroundLain1Layout.setVerticalGroup(
            backgroundLain1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, backgroundLain1Layout.createSequentialGroup()
                .addContainerGap(53, Short.MAX_VALUE)
                .addComponent(jLabel1)
                .addGap(18, 18, 18)
                .addGroup(backgroundLain1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(pathTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jButton1))
                .addGap(18, 18, 18)
                .addComponent(importButtonNewPanel)
                .addGap(25, 25, 25))
        );

        javax.swing.GroupLayout jDialog1Layout = new javax.swing.GroupLayout(jDialog1.getContentPane());
        jDialog1.getContentPane().setLayout(jDialog1Layout);
        jDialog1Layout.setHorizontalGroup(
            jDialog1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(backgroundLain1, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );
        jDialog1Layout.setVerticalGroup(
            jDialog1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(backgroundLain1, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );

        updateDialog.setModal(true);
        updateDialog.getContentPane().add(updatePanel1, java.awt.BorderLayout.CENTER);

        setPreferredSize(new java.awt.Dimension(1366, 768));

        usahaEntriBuuton.setBackground(new java.awt.Color(102, 51, 0));
        usahaEntriBuuton.setFont(new java.awt.Font("Tahoma", 1, 10)); // NOI18N
        usahaEntriBuuton.setForeground(new java.awt.Color(255, 255, 255));
        usahaEntriBuuton.setText("USAHA");
        usahaEntriBuuton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                usahaEntriBuutonActionPerformed(evt);
            }
        });

        pekerjaanEntriButton.setBackground(new java.awt.Color(102, 51, 0));
        pekerjaanEntriButton.setFont(new java.awt.Font("Tahoma", 1, 10)); // NOI18N
        pekerjaanEntriButton.setForeground(new java.awt.Color(255, 255, 255));
        pekerjaanEntriButton.setText("PEKERJAAN");
        pekerjaanEntriButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                pekerjaanEntriButtonActionPerformed(evt);
            }
        });

        usahaUpdateButton.setBackground(new java.awt.Color(102, 51, 0));
        usahaUpdateButton.setFont(new java.awt.Font("Tahoma", 1, 10)); // NOI18N
        usahaUpdateButton.setForeground(new java.awt.Color(255, 255, 255));
        usahaUpdateButton.setText("USAHA");
        usahaUpdateButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                usahaUpdateButtonActionPerformed(evt);
            }
        });

        pekerjaanUpdateButton.setBackground(new java.awt.Color(102, 51, 0));
        pekerjaanUpdateButton.setFont(new java.awt.Font("Tahoma", 1, 10)); // NOI18N
        pekerjaanUpdateButton.setForeground(new java.awt.Color(255, 255, 255));
        pekerjaanUpdateButton.setText("PEKERJAAN");
        pekerjaanUpdateButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                pekerjaanUpdateButtonActionPerformed(evt);
            }
        });

        importButton.setBackground(new java.awt.Color(102, 51, 0));
        importButton.setFont(new java.awt.Font("Tahoma", 1, 10)); // NOI18N
        importButton.setForeground(new java.awt.Color(255, 255, 255));
        importButton.setText("IMPORT");
        importButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                importButtonActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jLayeredPane1Layout = new javax.swing.GroupLayout(jLayeredPane1);
        jLayeredPane1.setLayout(jLayeredPane1Layout);
        jLayeredPane1Layout.setHorizontalGroup(
            jLayeredPane1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jLayeredPane1Layout.createSequentialGroup()
                .addGap(302, 302, 302)
                .addComponent(usahaEntriBuuton, javax.swing.GroupLayout.PREFERRED_SIZE, 92, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(pekerjaanEntriButton, javax.swing.GroupLayout.PREFERRED_SIZE, 92, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(90, 90, 90)
                .addComponent(usahaUpdateButton, javax.swing.GroupLayout.PREFERRED_SIZE, 92, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(pekerjaanUpdateButton, javax.swing.GroupLayout.PREFERRED_SIZE, 92, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(151, 151, 151)
                .addComponent(importButton, javax.swing.GroupLayout.PREFERRED_SIZE, 92, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(351, Short.MAX_VALUE))
        );
        jLayeredPane1Layout.setVerticalGroup(
            jLayeredPane1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jLayeredPane1Layout.createSequentialGroup()
                .addContainerGap(523, Short.MAX_VALUE)
                .addGroup(jLayeredPane1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(pekerjaanEntriButton, javax.swing.GroupLayout.PREFERRED_SIZE, 36, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(usahaEntriBuuton, javax.swing.GroupLayout.PREFERRED_SIZE, 36, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(pekerjaanUpdateButton, javax.swing.GroupLayout.PREFERRED_SIZE, 36, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(usahaUpdateButton, javax.swing.GroupLayout.PREFERRED_SIZE, 36, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(importButton, javax.swing.GroupLayout.PREFERRED_SIZE, 36, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(212, 212, 212))
        );
        jLayeredPane1.setLayer(usahaEntriBuuton, javax.swing.JLayeredPane.DEFAULT_LAYER);
        jLayeredPane1.setLayer(pekerjaanEntriButton, javax.swing.JLayeredPane.DEFAULT_LAYER);
        jLayeredPane1.setLayer(usahaUpdateButton, javax.swing.JLayeredPane.DEFAULT_LAYER);
        jLayeredPane1.setLayer(pekerjaanUpdateButton, javax.swing.JLayeredPane.DEFAULT_LAYER);
        jLayeredPane1.setLayer(importButton, javax.swing.JLayeredPane.DEFAULT_LAYER);

        javax.swing.GroupLayout home1Layout = new javax.swing.GroupLayout(home1);
        home1.setLayout(home1Layout);
        home1Layout.setHorizontalGroup(
            home1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 0, Short.MAX_VALUE)
            .addGroup(home1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, home1Layout.createSequentialGroup()
                    .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jLayeredPane1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addContainerGap()))
        );
        home1Layout.setVerticalGroup(
            home1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 771, Short.MAX_VALUE)
            .addGroup(home1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(home1Layout.createSequentialGroup()
                    .addComponent(jLayeredPane1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGap(0, 0, Short.MAX_VALUE)))
        );

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(home1, javax.swing.GroupLayout.DEFAULT_SIZE, 1366, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(home1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );
    }// </editor-fold>//GEN-END:initComponents

    private void importButtonNewPanelActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_importButtonNewPanelActionPerformed
        // TODO add your handling code here:
        
        jDialog1.setVisible(false);
        String fileSeparator = System.getProperty("file.separator");
        String folderDir = System.getProperty("user.home") + fileSeparator + "Data-entry-pkl53"+fileSeparator+"Pekerjaan";
        
        if(getPathTextField().getText().equals(folderDir)){
        BackupKuesioner.read();
        getPathTextField().setText("");
        card = (CardLayout) panel.getLayout();
        card.show(panel, "dataEntri");
//        DataEntriPekerjaanPanel.getBlok1232().getB1R1().requestFocusInWindow();}
//        else{
//        BackupKuesionerUsaha.read();
        getPathTextField().setText("");
        card = (CardLayout) panel.getLayout();
        card.show(panel, "dataEntri");
//        DataEntriUsahaPanel.getBlok123Usaha1().getB1R1().requestFocusInWindow();
        }
        
            
    }//GEN-LAST:event_importButtonNewPanelActionPerformed

    private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed
        // TODO add your handling code here:
       int val = getjFileChooser1().showOpenDialog(this);
       if(val ==  JFileChooser.APPROVE_OPTION){
            getPathTextField().setText(getjFileChooser1().getSelectedFile().getAbsolutePath());}
    }//GEN-LAST:event_jButton1ActionPerformed

    private void importButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_importButtonActionPerformed
        // TODO add your handling code here:
            getjDialog1().setLocationRelativeTo(this);
        getjDialog1().setVisible(true);
    
        
    }//GEN-LAST:event_importButtonActionPerformed

    private void usahaEntriBuutonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_usahaEntriBuutonActionPerformed
        // TODO add your handling code here:
        setCard((CardLayout) getPanel().getLayout());
        getCard().show(getPanel(), "dataEntriUsaha");
    }//GEN-LAST:event_usahaEntriBuutonActionPerformed

    private void pekerjaanEntriButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_pekerjaanEntriButtonActionPerformed
        // TODO add your handling code here:
        setCard((CardLayout) getPanel().getLayout());
        getCard().show(getPanel(), "dataEntri");
    }//GEN-LAST:event_pekerjaanEntriButtonActionPerformed

    private void usahaUpdateButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_usahaUpdateButtonActionPerformed
        // TODO add your handling code here:
//        updateDialog.setLocationRelativeTo(this);
//        updateDialog.setVisible(true);
         setCard((CardLayout) getPanel().getLayout());
        getCard().show(getPanel(), "updatePanel");
        
    }//GEN-LAST:event_usahaUpdateButtonActionPerformed

    private void pekerjaanUpdateButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_pekerjaanUpdateButtonActionPerformed
        // TODO add your handling code here:
//        updateDialog.setLocationRelativeTo(this);
//        updateDialog.setVisible(true);
         setCard((CardLayout) getPanel().getLayout());
        getCard().show(getPanel(), "updatePanel");
         
    }//GEN-LAST:event_pekerjaanUpdateButtonActionPerformed


    // Variables declaration - do not modify//GEN-BEGIN:variables
    private pkl53.imageClass.BackgroundLain backgroundLain1;
    private pkl53.imageClass.Home home1;
    private javax.swing.JButton importButton;
    private javax.swing.JButton importButtonNewPanel;
    private javax.swing.JButton jButton1;
    private javax.swing.JDialog jDialog1;
    private javax.swing.JFileChooser jFileChooser1;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLayeredPane jLayeredPane1;
    private static javax.swing.JTextField pathTextField;
    private javax.swing.JButton pekerjaanEntriButton;
    private javax.swing.JButton pekerjaanUpdateButton;
    private javax.swing.JDialog updateDialog;
    private pkl53.view.UpdatePanel updatePanel1;
    private javax.swing.JButton usahaEntriBuuton;
    private javax.swing.JButton usahaUpdateButton;
    // End of variables declaration//GEN-END:variables

public static javax.swing.JTextField getPathTextField() {
        return pathTextField;
    }

    /**
     * @return the mainFrame1
     */
    public MainFrame getMainFrame1() {
        return mainFrame1;
    }

    /**
     * @param mainFrame1 the mainFrame1 to set
     */
    public void setMainFrame1(MainFrame mainFrame1) {
        this.mainFrame1 = mainFrame1;
    }

    /**
     * @return the panel2
     */
    public LoginPanel2 getPanel2() {
        return panel2;
    }

    /**
     * @param panel2 the panel2 to set
     */
    public void setPanel2(LoginPanel2 panel2) {
        this.panel2 = panel2;
    }

    /**
     * @return the panel
     */
    public JPanel getPanel() {
        return panel;
    }

    /**
     * @param panel the panel to set
     */
    public void setPanel(JPanel panel) {
        this.panel = panel;
    }

    /**
     * @return the card
     */
    public CardLayout getCard() {
        return card;
    }

    /**
     * @param card the card to set
     */
    public void setCard(CardLayout card) {
        this.card = card;
    }

    /**
     * @return the loginPanel2
     */
    public LoginPanel2 getLoginPanel2() {
        return loginPanel2;
    }

    /**
     * @param loginPanel2 the loginPanel2 to set
     */
    public void setLoginPanel2(LoginPanel2 loginPanel2) {
        this.loginPanel2 = loginPanel2;
    }

    /**
     * @return the backgroundLain1
     */
    public pkl53.imageClass.BackgroundLain getBackgroundLain1() {
        return backgroundLain1;
    }

    /**
     * @param backgroundLain1 the backgroundLain1 to set
     */
    public void setBackgroundLain1(pkl53.imageClass.BackgroundLain backgroundLain1) {
        this.backgroundLain1 = backgroundLain1;
    }

    /**
     * @return the home1
     */
    public pkl53.imageClass.Home getHome1() {
        return home1;
    }

    /**
     * @param home1 the home1 to set
     */
    public void setHome1(pkl53.imageClass.Home home1) {
        this.home1 = home1;
    }

    /**
     * @return the importButton
     */
    public javax.swing.JButton getImportButton() {
        return importButton;
    }

    /**
     * @param importButton the importButton to set
     */
    public void setImportButton(javax.swing.JButton importButton) {
        this.importButton = importButton;
    }

    /**
     * @return the jButton1
     */
    public javax.swing.JButton getjButton1() {
        return jButton1;
    }

    /**
     * @param jButton1 the jButton1 to set
     */
    public void setjButton1(javax.swing.JButton jButton1) {
        this.jButton1 = jButton1;
    }

    /**
     * @return the jButton2
     */
    public javax.swing.JButton getjButton2() {
        return importButtonNewPanel;
    }

    /**
     * @param jButton2 the jButton2 to set
     */
    public void setjButton2(javax.swing.JButton jButton2) {
        this.importButtonNewPanel = jButton2;
    }

    /**
     * @return the jDialog1
     */
    public javax.swing.JDialog getjDialog1() {
        return jDialog1;
    }

    /**
     * @param jDialog1 the jDialog1 to set
     */
    public void setjDialog1(javax.swing.JDialog jDialog1) {
        this.jDialog1 = jDialog1;
    }

    /**
     * @return the jFileChooser1
     */
    public javax.swing.JFileChooser getjFileChooser1() {
        return jFileChooser1;
    }

    /**
     * @param jFileChooser1 the jFileChooser1 to set
     */
    public void setjFileChooser1(javax.swing.JFileChooser jFileChooser1) {
        this.jFileChooser1 = jFileChooser1;
    }

    /**
     * @return the jLabel1
     */
    public javax.swing.JLabel getjLabel1() {
        return jLabel1;
    }

    /**
     * @param jLabel1 the jLabel1 to set
     */
    public void setjLabel1(javax.swing.JLabel jLabel1) {
        this.jLabel1 = jLabel1;
    }

    /**
     * @return the jLayeredPane1
     */
    public javax.swing.JLayeredPane getjLayeredPane1() {
        return jLayeredPane1;
    }

    /**
     * @param jLayeredPane1 the jLayeredPane1 to set
     */
    public void setjLayeredPane1(javax.swing.JLayeredPane jLayeredPane1) {
        this.jLayeredPane1 = jLayeredPane1;
    }

    /**
     * @return the pekerjaanEntriButton
     */
    public javax.swing.JButton getPekerjaanEntriButton() {
        return pekerjaanEntriButton;
    }

    /**
     * @param pekerjaanEntriButton the pekerjaanEntriButton to set
     */
    public void setPekerjaanEntriButton(javax.swing.JButton pekerjaanEntriButton) {
        this.pekerjaanEntriButton = pekerjaanEntriButton;
    }

    /**
     * @return the pekerjaanUpdateButton
     */
    public javax.swing.JButton getPekerjaanUpdateButton() {
        return pekerjaanUpdateButton;
    }

    /**
     * @param pekerjaanUpdateButton the pekerjaanUpdateButton to set
     */
    public void setPekerjaanUpdateButton(javax.swing.JButton pekerjaanUpdateButton) {
        this.pekerjaanUpdateButton = pekerjaanUpdateButton;
    }

    /**
     * @return the updateDialog
     */
    public javax.swing.JDialog getUpdateDialog() {
        return updateDialog;
    }

    /**
     * @param updateDialog the updateDialog to set
     */
    public void setUpdateDialog(javax.swing.JDialog updateDialog) {
        this.updateDialog = updateDialog;
    }

    /**
     * @return the updatePanel1
     */
    public pkl53.view.UpdatePanel getUpdatePanel1() {
        return updatePanel1;
    }

    /**
     * @param updatePanel1 the updatePanel1 to set
     */
    public void setUpdatePanel1(pkl53.view.UpdatePanel updatePanel1) {
        this.updatePanel1 = updatePanel1;
    }

    /**
     * @return the usahaEntriBuuton
     */
    public javax.swing.JButton getUsahaEntriBuuton() {
        return usahaEntriBuuton;
    }

    /**
     * @param usahaEntriBuuton the usahaEntriBuuton to set
     */
    public void setUsahaEntriBuuton(javax.swing.JButton usahaEntriBuuton) {
        this.usahaEntriBuuton = usahaEntriBuuton;
    }

    /**
     * @return the usahaUpdateButton
     */
    public javax.swing.JButton getUsahaUpdateButton() {
        return usahaUpdateButton;
    }

    /**
     * @param usahaUpdateButton the usahaUpdateButton to set
     */
    public void setUsahaUpdateButton(javax.swing.JButton usahaUpdateButton) {
        this.usahaUpdateButton = usahaUpdateButton;
    }
}
